List<String> getKeys() { if (internalState != null) { return internalState.keys; } else { return List<String>(); } }