Fix working with Silex