Added Version() function to DBObject that returns database version.