Improved the events comment.
Fixed the content type check.

Thanks tienshiao #33