removed the unnecessary new in 'new aClass.getInstanceOf..'

don't need to construct a new object when we only want the return value from
the getInstanceOf function anyways