Remove some left over Symfony dispatcher code.