Add logging and reporting.