@Override
    public void serialize(Buffer buf) {
        buf.writeUShort(aliases.length);
        for (String entry : aliases) {
            buf.writeString(entry);
        }
        buf.writeUShort(arguments.length);
        for (String entry : arguments) {
            buf.writeString(entry);
        }
        buf.writeUShort(descriptions.length);
        for (String entry : descriptions) {
            buf.writeString(entry);
        }
    }