Change constructor parameter type to accommodate unit tests.