refactored multiple extension objects into one
shared extensions must be serializable
Warning in test removed.