Less hacky fix for DevTools errors.