The former class has been removed in 6.0, the documentation code snippets should be updated accordingly.