support for quering and building Guild objects added.