Implemented entity events.