Made gSession in DBObject final.