Minor code optimization.