Add support for the REST command