remove session_as_data as it's mainly useful for debugging and we don't really want it in every class