be more restrictive on what can be used to load a model