What are the differences between manifest and latent functions?