Add a preprocessing function for the Maya dataset.