Fixed method signature for OS X variant.