Expose tree, model and store
Code cleanup.