These are utilities used by the persistence layer.