Needs doc block. What is the `$id` parameter? Template ID?