Added logic to deal with generators and rendering source-specific views for urls of specific types