Fix format() declaration