Pass object into notification methods for better customization.