Refactor RIS importer for reuse.