Adding reporting functionality.