Removed #if 0 code that doesn't compiled if uncommented.