Add convenience methods to convert enum key to/from value