Ported to OASIS.