MAINT: remove obsolete functions