Added the Invert type class