Simplified the resource definition