fixed enum declaration parsing + implemented Named type