Add support for query parameters in ResourceModule