Model cleanup.