Added some calls and hooks to allow plugins to work with the wp-mpdf
plugin