Rename this function to better reflect its purpose

Thanks to dblaikie for the impetus to look for a better name.