Remember: Code that you do not have, is code you do not have to maintain.
This is a multi-step process that involves several phases. Here is how I like to approach it:
With Dynamics CRM 2011 the web resource model allows us to create the exact same shared-code design but one that is supportable.
Code replaced by internal Dynamics CRM 2011 methods
Empty methods added by the upgrade process