Make metric methods protected in publish command
Add docblock comments to Factory classes