Made the type message consistent.