Removed unused field session
Creating proxy instance if cannot deserialize