MAINT: remove a couple of unused functions