Add MouseHandler class.