[cvs-nhc98] Fix bad parent references in 'fromEnum' etc.