Added documentation with yard.