Utils and extension for Spray