added link wrapper closure support