Added PQ boolean dicts for apply and inverse apply.