Fixed an issue with the `@encode` element being placed in the `_config.weave` file.
Improved the error message for missing `@encode` setting.