Remove obsolete helper function.