Move check_uri out of the dataprocessor class.