Interpreting High-Redshift Galaxies in the Hubble Deep Field