Add an optional argument to docType; version 1.2.0