removing dependency cycle by removing apparently unused code
this is probably marginally slower but satisfies lint complaints (about obscurist ways to do type casting)
consolidate test for link unsafety to one method, make it more robust
exclude bundles from lint
rewrite to avoid using continue
rewrite to avoid creating functions in loops
holding place to warn about not-yet supported (maybe deprecated) extension inclusion