Changed name of url_type_code to more flexible link_data that can hold more generic data.