Allow for None as value at this point so as to make it possible to construct messages that doesn't comply with the standard.
Wrong parameter name
Use a more suited check.