index argument optional in interface

This argument is not necessary in some accessors, so we shouldn't enforce that all of them should use this index.