Cosmo: improve mapping code for actor layer