Would this documentation be better attached to the enum variant definitions?