Sex becomes class instead of enum.

Fix #17