Option for typecast on Document
Attribute declaration for document