Improvement: custom search and a custom action list
As a developer I sometimes write a custom search and sometimes I also need to ability to have a customized list of actions after the search and not the default list of actions possible with a contact.
So my proposal is that the custom search class could set the $objectType
for the hook_civicrm_searchTasks
.