Added Type class.