Improved activity lifecycle management.