Make compatible with Celery 2.5