Add capability list, support multiple hashes
Add and use Resource.hash method to compose and parse hash attribute