MAINT: Remove unused functions