Maybe this should be a docstring?