Support MethodDefinition and Object's method syntax

ref #33