genericifying the link documents