Adding callback class.