Auto capitalize resource type names and class names