Make sure the generated code implements the new interface