Added more parameters to the dimensions object and passed to PDF