Typo:  You want s/kward/kwarg/ throughout this docstring.