Update MethodDefinition build method