add handling for ::class