Moved parameters to the constructor to cheap out the populate() function.