allow directly set object as handler