Adding FromServicesAttribute.

why not `InvalidEnumArgumentException` :trollface: