Added support for read-only repositories