Edited documentation for notice-function