Cast urls to an Array inside of the closure to appease the closure compiler.