Added support for fork events