Add methods for adding at index

JavaDoc is wrong here