add instance_behaviors_of function