BUG: Only display link_function warning once.