Smooth the code.