Reduce server API a little. These are not needed.
Fix enum value names:

Previously the following enum:

struct A
{
    enum B { C };
};

Could be accessed like this:

A::B::C
B::C
C

Now it cane be accessed like this:

A::B::C
A::C
B::C
C