Fix for closures can't be serialized.
Accessor/Mutator added for application container.