Updated the types class.