Change Sanitizer to class with class methods.