Shared: reverted code used for debug.