Add API for issuing commands