Unify of Main class.