Factorize nil case handlers to the super class InputFilter.