Allow a block to be provided for the class name