Removed warning code