handling includes as local types