Delete some unneeded code