MAINT: delete a moved function