add explicit name to each Resource instead of using class name