Simplified for/hash. Added comments to the im/mut pairing operations.