change :protocol-invoke and :keyword-invoke fields