Wouldn't this be better as a hash of URIs and with an OptEnum to choose the correct URI? With TARGETURI supplying the base path?