Don't use numbers (old scirun) but instead enum values.