Add "sanitize_string" method