Removed unnecessary comment and array in EventManager attach