Adding functionality to stop (suspend) and restart inputs.