Changed type of QueryParameters collection from ArrayList<QueryParameter> to Collection<QueryParameter>