red::add_ref will be used to increment a reference counter and return the object pointer. Signed-off-by: Frediano Ziglio <fziglio@redhat.com>