Replaced hard-coded Strings in toString methods of static predicates with their enum.toString counterparts