Add author association to tree.
Add class_name to the polymorphic associations for links.
Add create_branches migration.