Current implementation lacks a way to check if type is registed in either container or any of its parents while `build()` considers it.