Address @timholy's review comments
Support getindex/setindex!