Updates for new trail API.
Merge pull request #31 from diagrams/bee-coh

Updates for new trail API.