Cocoa port tidying