MAINT remove redundant class hierarchy + fix api perform parameter check in fit