WCM-36 Removes code when migrate