Added reference support between documents