Fixing possible issues with serialization.
Webapp improvements.