Added infrastructure to parse the method declaration.