Optimized activity and notification templates