Add const to ContainerConfigurer and code_pair_spec