Add/modify files for ref loading.