Support formatting on inflate