Renamed methods to reflect visitor pattern