Added Javadoc description for QueryHandler.
Removed unnessecarry parameter.