More DB methods and some fixes to the SGI Entities