I used the same type of parameters in addListener() and removeListener() methods of the same class