Added readonly behavior
Merge pull request #1 from billysbilling/readonly

Adds readonly behavior