Change method parameters of removeFacet and writeFacet