* Ensure dates read from the database are treated as local when constructing entities. * Fixed typos in comments.