Added clearer warnings for invalid configs.