Merge "Introduce pointer capture API."