Fixed issue with valueOf(String) deserialization.