Java7 support and lazy tree loading