Fixing CDI misconfiuration.