Move internal.h #include to the end of the file so that it is after