Made TreesBlock handle custom tree strings more robustly.