Allow to pass a class to view view helper