changed the load method to return Some(Unit) when the document exists, or a None otherwise.