Added support for removePendingInterest and removeRegisteredPrefix.