Refining formatting of API commands.