The second `$defaultContent` shoud read `$defaultTemplate` instead.