And perhaps add a doctest to help with the understanding?