Implemented sample 6 - document signature.