Add workarounds for sanity checks and relative links