Add accessor function for the PruneEH pass