Wrap figtree in a helper method