Added functionality and tests to enable array access without brackets