Enforce immutable collections in API
Merge pull request #6 from jeantil/immutable_collections

Enforce immutable collections in API