Added deviceHasFlash property