Fixed wrong method name in code sample