Sanitize input.