Remove outdated unit frame code.