Added Code ref validator