Migrating to newer gradient syntax