cattr_accessor should use block to provide default