Removed dangerous code; it is not compatible with many external logic.