Added more functions to get basic device info.