attach_docs can happily be a method.