Please, use `factory` field instead of `factory()` method here.