cattr_accessors and linrec