100% coverage of Query Builder class, remove some undocumented/unused code.