[Ghost] Removed unused variables.