Added warning code for old documentation versions