Modification for the tools event system.