This  also looks like untested.

Is there a reason why some of these functions where left out?