Original code.  No changes made during our modularization.