Move lexeme expansion into a helper method