Added support for 'freeze' and 'resume'