Refining emoticon checker.