Revised the behavior tree interface.