patches: add remove static factories