Is it necessary to declare this class as *public static*?