Add `function` matchers for `include` and `exclude`.

Closes #10.