reduce / simplify chained function calls during parsing