Suppose I want to be able to export the same data in different formats. For instance the aggregate_losses both in .csv and .xml.
How would it work? There is a single function here. I would expected different functions

export_aggregate_loss_xml
export_aggregate_loss_csv
export_aggregate_loss =  the default

to be called depending on the ``exports`` parameter but now you have made it into a boolean... I am puzzled.