remove unnecessary forward declarations