Added capability of multible document types