Additional functions needed for NRMgraphics