Bug 408154 - Add option to the command constructor to allow imageClass to be appended elements