Added interface for user-defined guide trees, added documentation.