Removed some stuff if report is not provided.