Removed 'male' flag and introduced gender enum in example