Refactored new post notification mechanism.