Fixed method name in docs
Fixes #4126