Interest: Moved class ExcludeEntry to inner class Exclude::Entry.
diff --git a/src/interest.cpp b/src/interest.cpp
index b2ab024..b81ea6f 100644
--- a/src/interest.cpp
+++ b/src/interest.cpp
@@ -15,7 +15,7 @@
 namespace ndn {
   
 void 
-ExcludeEntry::get(struct ndn_ExcludeEntry& excludeEntryStruct) const 
+Exclude::Entry::get(struct ndn_ExcludeEntry& excludeEntryStruct) const 
 {
   excludeEntryStruct.type = type_;
   if (type_ == ndn_Exclude_COMPONENT)
diff --git a/src/node.cpp b/src/node.cpp
index f9076fb..83096cd 100644
--- a/src/node.cpp
+++ b/src/node.cpp
@@ -348,7 +348,7 @@
   // Set up interestStruct_.
   // TODO: Doesn't this belong in the Interest class?
   nameComponents_.reserve(interest_->getName().getComponentCount());
-  excludeEntries_.reserve(interest_->getExclude().getEntryCount());
+  excludeEntries_.reserve(interest_->getExclude().size());
   ndn_Interest_initialize
     (interestStruct_.get(), &nameComponents_[0], nameComponents_.capacity(), &excludeEntries_[0], excludeEntries_.capacity());
   interest_->get(*interestStruct_);