Remove the Cocoa framework dependency