Fixed and cleaned up Quirk template.