Remove uneeded code.