Add a basic read-only mode.