Remove non-essential codes to avoid a common warning