Reports and messages refactoring in generics functions.