Ensure no setters are called for the indexes

Ref. #5.