Simple tree API