The unit can take a prepare function to do something with data before validation.