Added createNewCodeCategory and createNewCodeDescriptor