Implemented debug.obsoleteMethod() etc