Better module resolution incase the domain module doesn't exist