Added support for SetType