Changed function names by removing "get_loc" prefix.