Disable automatic instantiation of class.