MAINT: remove outdated comments and commented out code