Add methods to get components.