Useful extensions for the Silex framework