Made ClientSideReferenceName work for enums as well