Abstracting the getter factory