Moved the tag interfaces for the commands to the API library.