More handler stubs. Improved YAML multidoc handling. Various fixes.