Remove class parameters

Per this https://github.com/symfony/symfony/issues/11881