Added ReadOnlyDatabase equality semantics.