Classes for matching and killing functions.