Fixes #5 by avoiding evaluating the Metrics registry beforehand at class level