Support for template setter to handle none values