Reinstated documnet types - #issue 79