Added interface of setNOtificationFrequency and fixed docblock.