Use of Sub-resource Locator Results in Redundant Parameters

Using of sub-resource locators in an API causes redundant parameters to appear in other operations of the main resource.  It is caused by pushing the sub-resource locator method of the main resource to a stack while recursively scanning through the sub-resource for operations and then neglecting to remove the sub-resource locator method from the stack after returning from recursion.