Fix README

`@::accessor 'type'` shouldn't be passed a function seeing as it is a getter and a setter.