Xcode 6.1 beta 2 change + notification handler marked as private

First change is about compatibility with new Xcode, and the second change makes notification handler method private.