Basic implementation for method invocations