Added documentation for domain class