Could do with a docstring.