Pre-hand-in cleanup.