Add support for Smyfony 2.4