micro-library that only allows a subset of calls through based on a frequency setting.