# Functions
MaxBytesReader is similar to net/http.MaxBytesReader, but lets us choose how to handle an overflow by providing an error.
NewPlugin loads and initializes a new plugin.
NewRegistry creates a new registry which watches the given dir root for new plugins, and adds them.