More flexible per-request IoC registration