Directivize query parameters, and include it in traits too