New rids

Closes issues #135, #132, #131, #125, #124, #118, #113 and #111.