Added the option to pass a class directly to the partial() method. This  will shorten syntax
5.2.0