I guess the `@queue.join("\n")` should be replaced with `body`? And the `@queue` initialization in `def register` can be removed?