Refactored component 'instance' creation.