Add OS X-specific behavior.