Reimplement DataLoader and TheanoPort.