Clean up replacements