Updated console and console.log judgement.
Added more classes.