Making lexer methods local that are not part of the API