Re-Added the warning code.