Update new format and remove onCommand() method.