Add comments and simplify ExplodeCommand