Added getKeyName method to Input