Implemented hidden pairs.