Add a method to set autobase in Fmt