Use interfaces instead of the sets directly