We can't simply link to system internal package, as it is prohibited by Golang. Let's copy-paste instead.