Adding maybe_ref, usage in link_resolver, and some explanations