Added PBDB querying to back into objects