Add getComponent function to ComponentContainer.