Finished the constructor.