Fixed all compile-time warnings except in RazorEvents.h MakeClass