Removing getKey from the abstract class as subclasses are obliged to implement this.