Removed unrelated codes.