Some improvements to the integration with rmcommon