Fixed compiler warning about matching type parameters.