Fix to em() function; updated docs