ast: rename commands to children