Working with CAM templates