Add all statements except for functionInvocation