Changed the type declaration to each file.