Added support to modify libraries serialization