Added read-only exception to Database and Model