  We prove compactification theorems for some complete K\"ahler manifolds with
nonnegative Ricci curvature. Among other things, we prove that a complete
noncompact K\"ahler Ricci flat manifold with maximal volume growth and
quadratic curvature decay is a crepant resolution of a normal affine algebraic
variety. Furthermore, such affine variety degenerates in two steps to the
unique metric tangent cone at infinity.
