Renamed a very misleadingly named function.