Fixed rsepc deprecations.