Changed function to devtools function.