The 99NEC permits UF and NM cables to be run in pipe(NM can't be in a "wet" location). 300-5(c) requires cables installed under buildings to be in a raceway. 300-5(d) requires direct buried conductors and cables emerging from the ground to be in an enclosure or raceway from the minimum cover distance to at least 8' above finished grade.