A test case or two for this would be nice.