Remove broken code that was not even used