Added missing overload for CCModel.generateBlock