Remove unused and buggy forward declarations.