Define tree manager first in Page model