Add support for optional parameters in SME

No match.