Modified docstring and added fields date_from and date_to