Add restrictions of the dependencies.