Add generic get method to variableholder