Remove broken unused code