Changed the included and excluded classes from String to Set.