Basic support for method invocations