removing symfony specific code.