Swapped in unit tested method.