#import <objc/Object.h>

@interface Object (Foo)

-foo;

@end

@implementation Object (Foo)

-foo { return self; }

@end

void main()
{
    id foo = [Object new];
    
    [foo foo];
}