"Added helper methods to determine the type of number"