Unit tested (w/cgreen).