Automatic scoped model detection.