Add w+ support.

Signed-off-by: Casey Dwyer <caseydwyer@gmail.com>
Add set_rootref function to bs.

Signed-off-by: Casey Dwyer <caseydwyer@gmail.com>