Reduce size of cross platform header