Implement alternative syntax for array getting elements