Found a cleaner way to share utilities between component and plugin.