Expands chains of method calls into the equivalent sequence of call statements.