Add const to various BaseComponentContainer functions.