type is not required for script
At some point, we will have proper template inheritance and we will remove sending title in the context
Legend is same throughout the project, no need to send it in context