Add support for @readonly (close #7)