Completed construct method for class.