Fixed a lot of already defined notices

Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Merge pull request #8448 from jvanbaarsen/fixed-already-defined-messages

Fixed a lot of already defined notices