Minor speed optimization.