Fix objc templates.

This is a kludge, but seems to work correctly.