private static Document document() {
        Find find = $namespaces.find("{}");
        List<Namespace> namespaces = new ArrayList<>();
        for (Map<?, ?> map : find.as(Map.class)) {
            String keyword = (String) map.get("keyword");
            String url = (String) map.get("url");
            namespaces.add(new Namespace(keyword, url));
        }

        AnnotationDefinition ad;
        List<AnnotationDefinition> definitions = new ArrayList<>();
        find = $annotations.find("{}");
        for (Map<?, ?> map : find.as(Map.class)) {
            String keyword = (String) map.get("keyword");
            String url = (String) map.get("url");
            String desc = (String) map.get("description");
            String usage = (String) map.get("usage");
            AnnotationType at = AnnotationType.ENUMERATION;
            ad = new AnnotationDefinition(keyword, at, desc, usage, url);
            definitions.add(ad);
        }

        Header hdr = new Header("", "", "");
        Document ret = new Document(hdr, new StatementGroup());
        ret.setDefinitions(definitions);
        NamespaceGroup nsgroup = new NamespaceGroup();
        nsgroup.setNamespaces(namespaces);
        ret.setNamespaceGroup(nsgroup);
        return ret;
    }