When embedding the rest API yourself, you need to provide all the resource classes in your custom application class.
We should provide a static method returning the list of builtin classes.