Changing array syntax in core classes