Remove part of old code.