Used new addHandler member function.