Fixed example code in documentation of breaking changes for 3.0.0.