Creating generic registration method for NSNotification events.