Add setters to resources
Make appropriate resource attributes readonly