Renamed sign function.