Remove unneeded symfony components.