Fixes module crash on load.