core: allow an included file to use extends/overrules within the scope of the included file.