Add support to reset device