Move intrinsics to separate file.