Bring back deferred require()
calls in core
and cli
#14028
Merged
require()
calls in core
and cli
#14028