Flesh out cosmo functions.