Fix CAP imports.