Implement the [] calling convention