Developed chapter about reference counting.