Implemented invocation parsing