Renamed all the function names to become cleaner.