Added support for predicates using magic as the if-clause of an option.