Remove warning code