Add a function interface for those who need to split command formating and sending.