class Foo { fun alloc() {} fun copy(): Foo = Foo() fun mutableCopy(): Foo = Foo() fun new(): Foo = Foo() fun init(): Foo = Foo() }