Made room follow DBObject protocols.