Updated version and handling of hans.