Finished conversion to PDO methods