Initial revision of compatibility core, +tmpl, +xdomcom