Removed the imports of dart:uri since they are deprecated.