Minor memory optimization.