Allow for passing callables to find_versions