Fix for enum namespacing

Signed-off-by: Andy Grover <andy@groveronline.com>