Adds RI properly.