Implemented Type class.