Improve silex implementation