Remove obsolete functions

[ci skip]