Greatly expanded report functionality.