show an example of calling "with" at the end of the class definition

so that methods provided by attributes can be seen by the role when applying it