Reset the default_type to layer.