Comment what does code does, not immediately obvious. (i.e. I think it is propagating the detached flag)