Added registry accessor to Metrics