Added basic pdo polling code.