Overloaded constructor to allow arguments.