Non-ideal fix for URIs in "extends"

I'm sure you can make it use the existing mechanisms for open-uri and parsing