[RPC] More static checks.