Resource class can be specified as an attribute of client class. Less
repetition.