Using reflection to remove dupl. cmds