Doc and named captures