<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def report(self, reporter, ignore_nfd=False, ignore_ws=False):
 		""" 		Adds the problems that have been found so far to the given Reporter 		instance. The two keyword args can be used to restrict the error types 		to be reported. 		"""

		if self.strip_errors and not ignore_ws:
			reporter.add(self.strip_errors, 'leading or trailing whitespace')

		if self.norm_errors and not ignore_nfd:
			reporter.add(self.norm_errors, 'not in Unicode NFD')