Added Extended procedure and doc constructor