You should be passing a class, not an instance