Add send and type API;