Fix extraneous commas with empty RPC method signatures