Added ModelItem.getParent() method