Default to auto discovering of doc type