Renamed functions to follow R-like naming convention.