Remove useless context parameter when constructing a cached homomorphism.