Clean up renderer functions