Replace @s with Rc types.(fixes #2079)

see #2079