Renamed methods to be more uniform with other languages