Fix API imports.