Fix broken task export (#249)