Add more functions in SourceEMulator