Remove Cocoa related code