Added support for SimpleITK's object factory