Make sure classes with static cannot be instantiated