An implementation of Integrated Templates API with template 'compilation' added