Cleanup wize code.