Allow ignore/only options to be methods

NOTE: not tested.