Removed boost optional from group db & added few static asserts.