create readers/writers with attr_wrappable