Add SML support