Added more sugar to API
Added error_handler property to session