Change a deprecated method into a supported one.
Add config.yml and messages.yml to the repository.