Added support for sleep data