Add NSURL support