Added StatefulObject to callback arguments in docs.