Add more type information.

This patch depends on https://github.com/kogmbh/WebODF/pull/223