Split data loading into separate tasks, add support for negation.