Closed
Description
When you create a definition for a resource that provides the method object the created instances of this resource will be of a class with the same name as the name attribute in that resources definition instance.constructor.name === resourceDefinition.name
.
But resources defined without the methods object will be of the class Object.
I feel this should be consistent across all instances of resources, and that they should all be of a class by the same name as the resource.