Added withPdo export method