Fixed issues with EventEmitter and added gc() method