Not sure why this ``CODE_DIR`` is a ``kwarg`` and not data passed in upon plugin instantiation.
Plugin configuration data should be passed via ``__init__``.