Add save method to LifecycleComponent

Fixes #135