:octopus: Add multi-word encoding functionality.