added required support for queries

Opened PR for feedback
Align the parameters of a method call if they span more than one line.