Mark isMobileDevice as deprecated