Changed examples to respect mutability