Why createObject? Does type really have any other functions attached?