Fixing reference loading.