Add initial support for the `foreign` predicate property (not yet in use)