Added documentation for the notice-function