Add output docs to attach relation