Merge pull request #480 from gilnoh/master

Adding Chunk CAS type. 

- test okay.
Merge remote-tracking branch 'upstream/master'
minor comments
removal of warning
some comments