Changed forward declarations to import statements to reduce annoying warnings.