Added initial support for RM.