BaseKeyFuncs

The base KeyFuncs type with some useful definitions for all KeyFuncs; meant to be derived from instead of used directly.