Added an Area class for efficient node handling and event propagation.