Use celery.task decorator instead of the deprecated celery.task implementation.