Move forward declarations to avoid compile warnings