I'm not sure it's worth adding the example in the docstring. It's pretty long and I guess people wanting to use a custom method would figure out how to do it.