Added prototype of Generate PDF