MAINT: Remove of unnecessary code.