Extract parts of sanitize into cleaner objects