Added support for dynamic repositories.