Optimized renderer module code