Rename and update es5 declaration