Add handleAttrs function
Allow QType and QueueType as query parameter
Use handleAttr
Solve conflict