Fixed all uses of the composite template helper.
Added directx module.