Added method to get raw device string.