Implemented all of the sign API changes and changed the sign command to be compatible with the changes.