Remove obsolete function.