Uri class changed as abstract class