Move class methods to the top of the class definition
Make Config#raw private and add docs
Update metric thresholds