Added getIndexOf and getItemAt methods to round out the initial implementation