MAINT: remove dead code