Turn static int values into an enum-like object