Fixed place where to set reloadTypes variable