Removed unused codes.