Adding functionality to the command traits