Allow addons to have public trees.

Closes #1625.