Refactoring stuff for reference, etc.  Pat's favorite part.