Adding doc type to config