Don't we have already functions in the Cocoa module for getting the SharedApp object?