Feel free to move it there, I copied the method from there to avoid any BC issues from there.