Refactor pair exposer.