The documentation does not contain examples of registering custom classes. Expected to have an example of adding a class.