add members/0 function for enums