Clean up loading of metrics object