Ensure module is defined