New Method class. GoToDefinition now works with methods and line numbers!