Added RM as second param in IContext constructor