Adding readonly support.