def _assemble(kind, args, body=None):
    """Assemble a celery script command."""
    if body is None:
        return {'kind': kind, 'args': args}
    return {'kind': kind, 'args': args, 'body': body}
