Refactored internal component type checker looping.