Added support for c++11 override and final keywords, and blank definitions for older compilers.