Fix event name not being added in constructor.