Remove unneeded magic lines