Fix capture templates to do what I want.