Fixes #227: Widgets API for PRELOADED_ITEMS on Tree
Fixes #240: Widgets API for Template