Renamed SQL functions.