Use entity_uri() when ->uri() is not defined for an entity.
Refactor hook_menu to make salesforce activity menu tab appear.