Extension `setClass` directive

To use an object with set of classes as a parameter