Fix p6captureouters to do the right thing.

Fixes loads of the "Cannot invoke..." errors.