Add rpc whitelists to the template