Created link_id/1 and link_id/2. Templates updated. added :type to pretty_type/1