refactorings concerning output URIs.