Used with realm.