Using redefine_system_predicate/1 only for system/library predicates.