Fix missing endpoint parameter in initializer.