Update kernel api links. Fixes #2067.