KAZ-73. Updated to API 1.6 and fixed to work with cmsMadeSimple 1.11