Added metadata viewing functionality.