HSEARCH-1119 Making object lookup and database retrieval methods configurable
HSEARCH-1448 Making sure that a potential proxy gets unproxied before accessed/returned