Mutex extension docblocks and several minor fixes.