Adding input null sanitizer.