Remove unbound variable warnings

Remove unbound variable warnings that were resolved at runtime
Looking back actually, Warnings is a struct. Making it into a class will need restructuring the warning mechanism. While I like the idea of making the warnings robust. Im thinking to push this into a refactoring task.