New helper methods: getIndex, getObject