Implemented __construct and __deconstruct to the file.