Handle extra args as hash or hashref