document PT_ATTACH and PT_DETACH, from Craig Leres