make rw/ro traits work on the class level (and generate default accessor styles for all attributes) this should solve issue #18