Fix method type in readme

The Configuration example showed `templateName` instead of `defaultName`