A simple doctest would be good here to help explain what this does.