This should be `.. method:: flatten()`