Finish (i hope) document service, DAO & entity.