Remove a obsolete function