Cleaned up temp deletion.