Adds some things to res.