Help locating documentation on possibly deprecated code

Hello, I’ve taken over a site who’s CMS is largely built on HTML-HUBL template files. Though I am either familiar with or know where to find docs on HUBL and template tags/functions, there are some unusual and non-documented (as far as I can tell) elements in some of the templates. Such as:

{{ required_head_tags }}
{{ include_attached_css( ... }}
{{ user_head_overrides }}

I cannot find the docs for these.

In particular:

{{ include_attached_css( [{"id":6366537205,"type":"cos_extension_resource"},{"id":6366590467,"type":"cos_extension_resource"}]) }}

This is not the way Hubspot doc currently indicate how to bring in CSS files. Thanks to the “show output” toggle, I can see it bring in a “main.css” file. But in the above, it refers to an “id”. Where is this ID obtained?

Also, the way some of the modules are implemented:

{% module_block module "module_157970820055216" wrapping_html='', per_widget_wrapper_html='', overrideable=true, widget_name='Alternating Image and Text Block', module_id="24700361243" label="Alternating Image and Text Block alt" %}

My understanding that there is much more here than necessary to place a module within a template. Am I correct on this? For instance: module_id=“24700361243” Where is that id obtained? Is it necessary?

Thanks for any help or guidance to the relevant documentation.