add binding for global enum (is this right?)