Implement class for service comments.

Refs #5039