Introduce common interface for getValue() method