Change incorrect calls to the constructor "EventNames()" to the correct accessor