Passing the receiver class and not the Class.class.

This fixes a problem when two classes declare static properties with the same name