Added readonly collection support.