Add an exported require function.