Compressor autodetect the resource type #15