Support scopes in the `Message` class (see contao/core#6558)