If you want to pass a class then you should be smart