Add hooks to expose the module to the frontend