Another portion of functions ported.