Added a quick solution for notices on each function

Signed-off-by: Shahbaz Youssefi <ShabbyX@gmail.com>