Added types to allow presenting data easily in the admin page.