Rendering code refactorings