Use Self instead of Rc<FrameTree> in trait methods

Addresses review comment from @larsbergstrom.