The data source allows for a conditions method that get's called via export. Could we move this code to that?