Renamed url to identifier and added some comments.