Create constants for keys, types and their number aliases
Use new static methods for retrieving keys/types in stat.fromSeries
method