Clean up report functions.