Partially fix 1568818: Define mathematical operators so that we can animate gradients.