Added missing debug command.
Improved performance, fixed inherited static fields lookup.