replacing imports with forward declarations