Clean up redundant stuff.