Support indexing into structures