Use URI.expand as a function