Add call host API from Spark class.