Throw error is modules not enabled.