In-progress: affine import