Added support for polyglot books