FW-57 and FW-61. Cleaning up Python side code which handle DIOs and DAOs.