Working implementation of 'notify' command.