Implemented events usage.