KAFDocument.newCompund() function added.