Fixed warning by robocop for event model