Thank you Sarah for mentioning the update :) In BuddyPress 2.0 the actions are generated dynamically, so we will need to add those changes only.