Export require() for plugins

Change-Id: I1c45e64d1e24e3aa07d9a3ec960c631bcde76a9a