Clean up miscellaneous stuff.