Howto customize deployment with capistrano2

My deployment requires a few extra steps after 'update_code' and then again after 'symlink'. Until I migrated to capistrano2, I had my own deploy_with_migration task which added these steps.

What would be a recommended approach to accomplish the same using capistrano2?

Thanks, Helzer